services.anubis.instances.<name>.settings.METRICS_BIND
The address Anubis' metrics server listens to. See Go's net.Listen for
syntax.
When using unix sockets:
- use the prefix "/run/anubis/anubis/" if the instance name is the empty string,
- "/run/anubis/anubis-/" otherwise.
The metrics server is enabled by default and may be disabled. However, due to implementation details, this is
only possible by setting a command line flag. See services.anubis.defaultOptions.extraFlags for an
example.
Defaults to Unix domain sockets. To use TCP sockets, set this to a TCP address and METRICS_BIND_NETWORK to
"tcp".
- Type
string- Default
"/run/anubis/anubis-‹name›/anubis-metrics.sock"- Example
"127.0.0.1:8081"- Declared
- <nixpkgs/nixos/modules/services/networking/anubis.nix>